<%@ page language="Java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>



<center>
	<form:form action="login.html" method="post" commandName="credentialsForm">
		<fieldset style="width: 60%; padding: 25px 30px 25px 30px;">

			<legend class="formElement">Logowanie</legend>

			<div class="formElement">
				<form:label path="login">Login</form:label>
				<form:input path="login" />
			</div>

			<div class="formElement">
				<form:label path="password">Hasło</form:label>
				<form:password path="password" />
			</div>

			<div class="formElement">
				<input type="submit" value="Zaloguj" />
			</div>
			
		</fieldset>
	</form:form>
</center>